package com.atguigu.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.atguigu.dao.TravelItemDao;
import com.atguigu.entity.PageResult;
import com.atguigu.pojo.TravelItem;
import com.atguigu.TravelItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

@Service(interfaceClass = TravelItemService.class)
@Transactional
public class TravelItemServiceImpl implements TravelItemService {
   @Autowired
   private TravelItemDao travelItemDao;



    @Override
    public void add(TravelItem travelItem) {
       travelItemDao.add(travelItem);

    }

    @Override
    public PageResult findPage(Integer currentPage, Integer pageSize, String queryString) {
        return null;
    }


}
